class TokenModel {
  TokenModel({
      this.rtmToken,
      this.rtcToken, 
      this.channel,});

  // TokenModel.fromJson(dynamic json) {
  //   zGoToken = json['zGoToken'] as String?;
  //   rtmToken = json['rtmToken'] as String?;
  //   rtcToken = json['rtcToken'] as String?;
  //   channel = json['channel'];
  // }
  factory TokenModel.fromJson(dynamic json) => TokenModel()
    ..rtmToken = json['rtmToken'] as String?
    ..rtcToken = json['rtcToken'] as String?
    ..channel = json['channel'];
  String? rtmToken;
  String? rtcToken;
  int? channel;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['rtmToken'] = rtmToken;
    map['rtcToken'] = rtcToken;
    map['channel'] = channel;
    return map;
  }

}